package com.hyzx.qbasic.admin.domain.repository;

import com.github.pagehelper.PageInfo;
import com.hyzx.qbasic.admin.model.po.SysConfigPO;

import java.util.List;

/**
 * Created by 黄江华 on 2018/7/23
 */

public interface ISysConfigRepository {

    List<SysConfigPO> getAllConfigList();

    PageInfo<SysConfigPO> getPagedConfigList(int pageNum, int pageSize, String confKey);

    boolean addConfig(SysConfigPO config);

    boolean deleteConfig(List<Integer> confIdList);

    SysConfigPO getConfigInfoById(int confId);

    SysConfigPO getConfigInfoByKey(String confKey);

    boolean editConfig(SysConfigPO config);
}
